//
//  AlertWaiting.m
//  Jula_iOS
//
//  Created by Ali on 16/2/2.
//  Copyright © 2016年 Alimjan. All rights reserved.
//

#import "AlertWaiting.h"

@implementation AlertWaiting

-(void)awakeFromNib{
    self.layer.masksToBounds = YES;
    self.layer.cornerRadius = 5;
    
}
-(void)showAndDismissAfter:(int)time{
    [super show];
    if (time == 0) {
        return ;
        }
    [self performSelector:@selector(dismissAlert) withObject:nil afterDelay:time];
}
@end
